//
//  fishpondStatisticsModel.h
//  YuTang
//
//  Created by 葛悦彣 on 2024/7/29.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
@class appPondManageListModel,SYMessageListModel,SYMessageModel;

@interface fishpondOutdoorModel : NSObject


///温室/室外
@property (nonatomic ,assign) NSInteger pondType;
///总数
@property (nonatomic ,assign) NSInteger total;
///异常告警
@property (nonatomic ,assign) NSInteger abnormalAlarm;
///紧急告警
@property (nonatomic ,assign) NSInteger criticalAlarm;
///池塘列表
@property (nonatomic ,strong) NSArray<appPondManageListModel *>* appPondManageListModelList;
///室内
@property (nonatomic ,strong) NSArray<appPondManageListModel *>* appPondTissueStatisticsListModelList;

@property (nonatomic ,strong) NSArray<SYMessageListModel *>* messageArray;
///消息数量
@property (nonatomic ,assign) int messageCount;
@property (nonatomic ,strong) NSArray<SYMessageModel *>* messageListArray;

///是否是温室
@property (nonatomic ,assign) BOOL isWS;
///有id就是室内池塘列表
@property (nonatomic ,strong) NSString * ID;
@property (nonatomic ,strong) NSString * name;

///给3个数据
- (NSArray <appPondManageListModel *>*)arrayWithRow:(int)row;


@end
@interface appPondManageListModel : NSObject

@property (nonatomic ,strong) NSString * ID;

@property (nonatomic ,strong) NSString * name;
///告警消息
@property (nonatomic ,strong) NSString * alarmMessage;
@property (nonatomic ,strong) NSString * tissueId;
@property (nonatomic ,strong) NSString * tissueName;
///-1.正常 0.紧急、1.异常
@property (nonatomic ,assign) int alarmDegree;

@end

@interface appTaskCountModel : NSObject

@property (nonatomic ,assign) int type;
@property (nonatomic ,assign) int count;
@property (nonatomic ,strong) NSString * typeName;

@end
@interface SYMessageListModel : NSObject

@property (nonatomic ,assign) int num;
@property (nonatomic ,assign) int type;

@property (nonatomic ,strong) NSString * title;
@property (nonatomic ,strong) NSArray<SYMessageModel  *> * models;

@end
@interface SYMessageModel : NSObject

@property (nonatomic ,strong) NSString * content;
@property (nonatomic ,strong) NSString * createTime;
@property (nonatomic ,strong) NSString * title;
@property (nonatomic ,strong) NSString * ID;
@property (nonatomic ,assign) int num;

@end
NS_ASSUME_NONNULL_END
